Fix maximization behavior on Windows (Bug#16300).
authormartin rudalics <rudalics@gmx.at>
Sat, 4 Jan 2014 09:31:30 +0000 (10:31 +0100)
committermartin rudalics <rudalics@gmx.at>
Sat, 4 Jan 2014 09:31:30 +0000 (10:31 +0100)
commit09d32a2261f1846ad1ed334178f8f6dd7955fcc7
tree97c3f381789c4c735e3a6fecb0e3a65a34d6be54
parent58f43cfc73435fe89015e72331f71fd125bd5396
Fix maximization behavior on Windows (Bug#16300).

Fix maximization behavior on Windows (Bug#16300).
* w32fns.c (w32_fullscreen_rect): Don't handle
FULLSCREEN_MAXIMIZED and FULLSCREEN_NONE specially.
* w32term.c (w32fullscreen_hook): Use SetWindowPlacement instead
of SetWindowPos.  Restore last placement also when leaving
FULLSCREEN_HEIGHT and FULLSCREEN_WIDTH.  Call ShowWindow in all
but the FULLSCREEN_BOTH case.
src/ChangeLog
src/w32fns.c
src/w32term.c